package cn.zebra.dev.sms.module.huaxin.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author runnable@sina.cn
 */
@Getter
@Setter
public class SmsSendContentVO {
    @ApiModelProperty("手机号")
    @NotBlank(message = "发送的手机号不能为空!")
    private String phone;

    @ApiModelProperty("内容")
    @NotBlank(message = "发送的内容不能为空!")
    private String content;

    @ApiModelProperty("Redis Key")
    @NotBlank(message = "Redis Key不能为空!")
    private String key;

    @ApiModelProperty("验证码")
    @NotBlank(message = "发送的验证码不能为空!")
    private String code;

    @ApiModelProperty("分钟")
    @NotNull(message = "请设置过期时间!")
    private Integer minute;
}
